import request from '@/utils/request'

// 查询跟进类型管理列表
export function listRecordprogress(query) {
  console.log(query)
  return request({
    url: '/recordprogress/recordprogress/list',
    method: 'get',
    params: query
  })
}

// 查询跟进类型管理详细
export function getRecordprogress(recordProgressId) {
  return request({
    url: '/recordprogress/recordprogress/' + recordProgressId,
    method: 'get'
  })
}

// 新增跟进类型管理
export function addRecordprogress(data) {
  return request({
    url: '/recordprogress/recordprogress',
    method: 'post',
    data: data
  })
}

// 修改跟进类型管理
export function updateRecordprogress(data) {
  return request({
    url: '/recordprogress/recordprogress',
    method: 'put',
    data: data
  })
}

// 删除跟进类型管理
export function delRecordprogress(recordProgressId) {
  return request({
    url: '/recordprogress/recordprogress/' + recordProgressId,
    method: 'delete'
  })
}
